Optimal. Leaf size=67 \[ -\frac {\sqrt [4]{6} \sqrt {c x} \sqrt {3-2 x^2} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {3-\sqrt {6} x}}{\sqrt {6}}\right )\right |2\right )}{\sqrt {x} \sqrt {3 a-2 a x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {326, 325, 324,
435} \begin {gather*} -\frac {\sqrt [4]{6} \sqrt {3-2 x^2} \sqrt {c x} E\left (\left .\text {ArcSin}\left (\frac {\sqrt {3-\sqrt {6} x}}{\sqrt {6}}\right )\right |2\right )}{\sqrt {x} \sqrt {3 a-2 a x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 324
Rule 325
Rule 326
Rule 435
Rubi steps
\begin {align*} \int \frac {\sqrt {c x}}{\sqrt {3 a-2 a x^2}} \, dx &=\frac {\sqrt {c x} \int \frac {\sqrt {x}}{\sqrt {3 a-2 a x^2}} \, dx}{\sqrt {x}}\\ &=\frac {\left (\sqrt {c x} \sqrt {1-\frac {2 x^2}{3}}\right ) \int \frac {\sqrt {x}}{\sqrt {1-\frac {2 x^2}{3}}} \, dx}{\sqrt {x} \sqrt {3 a-2 a x^2}}\\ &=-\frac {\left (\sqrt [4]{2} 3^{3/4} \sqrt {c x} \sqrt {1-\frac {2 x^2}{3}}\right ) \text {Subst}\left (\int \frac {\sqrt {1-2 x^2}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {1-\sqrt {\frac {2}{3}} x}}{\sqrt {2}}\right )}{\sqrt {x} \sqrt {3 a-2 a x^2}}\\ &=-\frac {\sqrt [4]{6} \sqrt {c x} \sqrt {3-2 x^2} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {3-\sqrt {6} x}}{\sqrt {6}}\right )\right |2\right )}{\sqrt {x} \sqrt {3 a-2 a x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.02, size = 53, normalized size = 0.79 \begin {gather*} \frac {2 x \sqrt {c x} \sqrt {3-2 x^2} \, _2F_1\left (\frac {1}{2},\frac {3}{4};\frac {7}{4};\frac {2 x^2}{3}\right )}{3 \sqrt {a \left (9-6 x^2\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(164\) vs.
\(2(53)=106\).
time = 0.06, size = 165, normalized size = 2.46
method | result | size |
elliptic | \(\frac {\sqrt {c x}\, \sqrt {-c x a \left (2 x^{2}-3\right )}\, \sqrt {6}\, \sqrt {3}\, \sqrt {\left (x +\frac {\sqrt {6}}{2}\right ) \sqrt {6}}\, \sqrt {-6 \left (x -\frac {\sqrt {6}}{2}\right ) \sqrt {6}}\, \sqrt {-3 x \sqrt {6}}\, \left (-\sqrt {6}\, \EllipticE \left (\frac {\sqrt {3}\, \sqrt {\left (x +\frac {\sqrt {6}}{2}\right ) \sqrt {6}}}{3}, \frac {\sqrt {2}}{2}\right )+\frac {\sqrt {6}\, \EllipticF \left (\frac {\sqrt {3}\, \sqrt {\left (x +\frac {\sqrt {6}}{2}\right ) \sqrt {6}}}{3}, \frac {\sqrt {2}}{2}\right )}{2}\right )}{54 x \sqrt {-a \left (2 x^{2}-3\right )}\, \sqrt {-2 a c \,x^{3}+3 a c x}}\) | \(152\) |
default | \(\frac {\sqrt {c x}\, \sqrt {-a \left (2 x^{2}-3\right )}\, \sqrt {2}\, \sqrt {\left (2 x +\sqrt {2}\, \sqrt {3}\right ) \sqrt {2}\, \sqrt {3}}\, \sqrt {\left (-2 x +\sqrt {2}\, \sqrt {3}\right ) \sqrt {2}\, \sqrt {3}}\, \sqrt {3}\, \sqrt {-x \sqrt {2}\, \sqrt {3}}\, \left (2 \EllipticE \left (\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {\left (2 x +\sqrt {2}\, \sqrt {3}\right ) \sqrt {2}\, \sqrt {3}}}{6}, \frac {\sqrt {2}}{2}\right )-\EllipticF \left (\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {\left (2 x +\sqrt {2}\, \sqrt {3}\right ) \sqrt {2}\, \sqrt {3}}}{6}, \frac {\sqrt {2}}{2}\right )\right )}{12 x a \left (2 x^{2}-3\right )}\) | \(165\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.14, size = 20, normalized size = 0.30 \begin {gather*} \frac {\sqrt {2} \sqrt {-a c} {\rm weierstrassZeta}\left (6, 0, {\rm weierstrassPInverse}\left (6, 0, x\right )\right )}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.42, size = 51, normalized size = 0.76 \begin {gather*} \frac {\sqrt {3} \sqrt {c} x^{\frac {3}{2}} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {\frac {2 x^{2} e^{2 i \pi }}{3}} \right )}}{6 \sqrt {a} \Gamma \left (\frac {7}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {c\,x}}{\sqrt {3\,a-2\,a\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________